@import '~antd/dist/antd.css';

body,
html {
  width: 100%;
  height: 100%;
  background-color: rgb(250, 250, 250);
}

ol,
ul {
  list-style: none;
}

a {
  cursor: pointer; 
  text-decoration: none; 
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

.page-wrapper {
  // background-color: #f0f6f8;
}
.layout{
  .content{
    margin-top: 0px;
  }
}

#root {
  width: 100%;
  height: 100%;
}
.clear{
  clear: both;
}

.loading {
  width: 200px;
  margin: 0px auto;
  position: relative;
  .ant-spin-spinning{
    position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%,-50%);
  }
}

.no_data{
  width: 150px;
  margin: 200px auto;
  min-height: 500px;
  img{
    width: 100px;
    display: block;
    margin: 0 auto;
  }
  .text{
    text-align: center;
    font-size: 18px;
    color: #777;
  }
}
/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 10px; /*对垂直滚动条有效*/
  height: 10px;  /*对水平滚动条有效*/
}

/*定义滚动条的轨道颜色、内阴影及圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #ececec;
  border-radius: 3px;
}

/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 7px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: rgba(0, 0, 0, .1);
}

/* 光标移到滚动滑块上样式颜色变深 */
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, .2);
}

/*定义两端按钮的样式*/
::-webkit-scrollbar-button {
  // background-color: cyan;
}

/*定义右下角汇合处的样式*/
::-webkit-scrollbar-corner {
  background: khaki;
}